package com.osdp.common.constant;

public enum QueryOrderEnum {
    ASC,
    DESC;

    public static QueryOrderEnum from(String type) {
        for (QueryOrderEnum value : values()) {
            if (value.name().equalsIgnoreCase(type)) {
                return value;
            }
        }
        return null;
    }
}
